<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />




<!-- 引入 Bootstrap -->
<link href="../../static/bootstrap-3.3.7-dist/css/bootstrap.min.css"
	rel="stylesheet"></link>
<!--springboot默认路径-->
<link href="bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet"></link>
<!--自己的样式-->
<link href="location.css" rel="stylesheet"></link>
<link href="../../static/location.css" rel="stylesheet"></link>
<!-- HTML5 Shiv 和 Respond.js 用于让 IE8 支持 HTML5元素和媒体查询 -->
<!-- 注意： 如果通过 file://  引入 Respond.js 文件，则该文件无法起效果 -->
<!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
   <![endif]-->
<!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
<script src="https://code.jquery.com/jquery.js"></script>
<!-- 包括所有已编译的插件 -->
<script src="../../static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<!--springboot默认路径-->
<script src="bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>


<script>

	                                 
  </script>

</head>
<body>

	<div th:fragment="silder" class="silder">
		<div class="panel-group" id="accordion" style="width: 10%;position:fixed; top:50px;">
			<div class="panel panel-default" >
                    <div class="panel-heading">
                      <h4 class="panel-title">
                        <a data-toggle="collapse" data-parent="#accordion"
                           href="#collapseOne">
                          		设备数据查询
                        </a>
                      </h4>
                    </div>
                    <div id="collapseOne" class="panel-collapse collapse in">
                      <div class="well well-sm" style="margin:0px"><a href="/device/device">设备定位数据</a></div>
                      <div class="well well-sm" style="margin:0px"><a href="/device/heartbeat">设备心跳数据</a></div>
                      <div class="well well-sm" style="margin:0px"><a href="/device/cmd">命令下发记录</a></div>
                      <div class="well well-sm" style="margin:0px"><a href="/device/alarm">设备告警记录</a></div>
                       <div class="well well-sm" style="margin:0px"><a href="/device/mqttdata">设备日志查询</a></div>
                       <div class="well well-sm" style="margin:0px"><a href="/device/devicetoobject">设备当前绑定对象</a></div>
                      <div class="well well-sm" style="margin:0px"><a href="/device/objecttodevice">当前对象绑定设备</a></div>
                      <div class="well well-sm" style="margin:0px"><a href="/device/MQTT">MQTT订阅测试</a></div>
                      <div class="well well-sm" style="margin:0px"><a href="http://192.168.9.200/logs/"  target="_blank">服务器日志</a></div>
                       <div class="well well-sm" style="margin:0px"><a href="http://192.168.9.200:7788/logs/"  target="_blank">2G中间件日志</a></div>
                       <div class="well well-sm" style="margin:0px"><a href="http://192.168.9.200:7788/files/"  target="_blank">APP/固件</a></div>
                       <div class="well well-sm" style="margin:0px"><a onclick="Logs()"  target="_blank">系统检测</a></div>
                    </div>
                  </div>

<!--  
			<div class="panel panel-default" >
                    <div class="panel-heading">
                      <h4 class="panel-title">
                        <a data-toggle="collapse" data-parent="#accordion"
                           href="#collapseTwo">
                          		关联关系查询
                        </a>
                      </h4>
                    </div>
                    <div id="collapseTwo" class="panel-collapse collapse in">
                      <div class="well well-sm" style="margin:0px"><a href="/device/devicetoobject">设备当前绑定对象</a></div>
                      <div class="well well-sm" style="margin:0px"><a href="/device/objecttodevice">当前对象绑定设备</a></div>
                    </div>
            </div>


-->
<!-- 动态模块 

			<span th:each="myfun: ${session.functions}">
				<div class="panel panel-default" th:if="${myfun.pid==0}">
					<div class="panel-heading">
						<h4 class="panel-title">
							<a data-toggle="collapse" data-parent="#accordion"
								th:attr="href='#'+${myfun.id}" href="#collapseOne"> <span
								th:text="${myfun.funname}">功能名称：</span>
							</a>
						</h4>
					</div>
					<div th:attr="id=${myfun.id}" id="collapseOne"
						class="panel-collapse collapse in">
						<span th:each="sonfun : ${session.functions}">
							<div th:if="${sonfun.pid==myfun.id}" class="well well-sm"
								style="margin: 0px">
								<a href="/user/getusers" th:href="@{${sonfun.url}}"><span
									th:text="${sonfun.funname}">功能名称：</span></a>
							</div>
						</span>
					</div>
				</div>


			</span> <span th:if="${session.functions!=null}"> <span
				th:if="${session.functions.size()==0}">
					<div class="panel panel-default">
						<div class="panel-heading">
							<h4 class="panel-title">
								<a data-toggle="collapse" data-parent="#accordion"
									href="#collapseOne"> <span>无此模块权限</span>
								</a>
							</h4>
						</div>
					</div>
			</span>
			</span>


-->

		</div>
	</div>

</body>
</html>
